Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000725/0.000725, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004409/0.004409, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.438/2.438, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 12 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5992/0.5996, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004577/0.6042, allocations: 4.468 MB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.6076, allocations: 2.44 MB / 1.03 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.6079, allocations: 19.81 kB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.6081, allocations: 91.22 kB / 1.03 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008494/0.609, allocations: 410 kB / 1.03 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006945/0.6097, allocations: 349.6 kB / 1.031 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009478/0.6107, allocations: 1.124 MB / 1.032 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006866/0.6114, allocations: 464.2 kB / 1.032 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.6117, allocations: 282.7 kB / 1.033 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.6121, allocations: 338.4 kB / 1.033 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.6121, allocations: 23.94 kB / 1.033 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006025/0.6127, allocations: 495 kB / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.6129, allocations: 159.5 kB / 1.033 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.6131, allocations: 315.9 kB / 1.034 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007604/0.6139, allocations: 0.8819 MB / 1.035 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6139, allocations: 0 / 1.035 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6139, allocations: 4 kB / 1.035 GB, free: 4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.6139, allocations: 0 / 1.035 GB, free: 4 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001133/0.6151, allocations: 0.8256 MB / 1.035 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.6151, allocations: 16.03 kB / 1.035 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.866e-05/0.6152, allocations: 90.7 kB / 1.036 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.6164, allocations: 211.8 kB / 1.036 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.6169, allocations: 494.2 kB / 1.036 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.617, allocations: 37.36 kB / 1.036 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.617, allocations: 40.38 kB / 1.036 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/0.618, allocations: 0.8446 MB / 1.037 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.618, allocations: 7.938 kB / 1.037 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.6181, allocations: 27.97 kB / 1.037 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.624e-05/0.6182, allocations: 68.95 kB / 1.037 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007435/0.6189, allocations: 0.5656 MB / 1.038 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.6226, allocations: 5.658 MB / 1.043 GB, free: 10.51 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.6232, allocations: 458.7 kB / 1.044 GB, free: 10.05 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.6235, allocations: 225.3 kB / 1.044 GB, free: 9.828 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.6235, allocations: 7.984 kB / 1.044 GB, free: 9.82 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.6235, allocations: 38.5 kB / 1.044 GB, free: 9.773 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.6235, allocations: 0 / 1.044 GB, free: 9.773 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002277/0.6258, allocations: 1.507 MB / 1.045 GB, free: 8.148 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.6259, allocations: 59.62 kB / 1.046 GB, free: 8.078 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.6263, allocations: 0.491 MB / 1.046 GB, free: 7.574 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.6263, allocations: 29.7 kB / 1.046 GB, free: 7.539 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.6266, allocations: 354.8 kB / 1.046 GB, free: 7.188 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.6267, allocations: 114.4 kB / 1.047 GB, free: 7.074 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.6267, allocations: 57.69 kB / 1.047 GB, free: 7.012 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6269, allocations: 362.8 kB / 1.047 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000278/0.6271, allocations: 197.2 kB / 1.047 GB, free: 6.457 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/0.6276, allocations: 447.3 kB / 1.048 GB, free: 5.902 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007346/0.6283, allocations: 0.6877 MB / 1.048 GB, free: 5.098 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6283, allocations: 0 / 1.048 GB, free: 5.098 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001142/0.6295, allocations: 0.8165 MB / 1.049 GB, free: 4.258 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.6295, allocations: 8.938 kB / 1.049 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.6295, allocations: 8 kB / 1.049 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004485/0.63, allocations: 152.1 kB / 1.049 GB, free: 4.078 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.6304, allocations: 123.7 kB / 1.049 GB, free: 3.957 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.6331, allocations: 4.048 MB / 1.053 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.6335, allocations: 35.97 kB / 1.053 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.6335, allocations: 28 kB / 1.053 GB, free: 15.45 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002147/0.6337, allocations: 209.7 kB / 1.053 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.6338, allocations: 63.25 kB / 1.054 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009374/0.6348, allocations: 0.6006 MB / 1.054 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.6348, allocations: 7.938 kB / 1.054 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6348, allocations: 7.875 kB / 1.054 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6348, allocations: 0 / 1.054 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.6364, allocations: 1.262 MB / 1.055 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6364, allocations: 8.031 kB / 1.055 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.6366, allocations: 51.89 kB / 1.055 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003644/0.637, allocations: 136.2 kB / 1.056 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.637, allocations: 8 kB / 1.056 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002576/0.6396, allocations: 4.036 MB / 1.06 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6396, allocations: 4.031 kB / 1.06 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008832/0.6405, allocations: 0.7051 MB / 1.06 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.6407, allocations: 176.2 kB / 1.06 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.6408, allocations: 8 kB / 1.06 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.641, allocations: 19.97 kB / 1.06 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.6411, allocations: 35.89 kB / 1.06 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.6411, allocations: 12 kB / 1.06 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003129/0.6414, allocations: 330.8 kB / 1.061 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6414, allocations: 4 kB / 1.061 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005598/0.642, allocations: 140 kB / 1.061 GB, free: 7.043 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/0.6431, allocations: 1.253 MB / 1.062 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.6443, allocations: 1.037 MB / 1.063 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6443, allocations: 0 / 1.063 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007424/0.6451, allocations: 0.7426 MB / 1.064 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.6462, allocations: 187.7 kB / 1.064 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005818/0.652, allocations: 5.419 MB / 1.069 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.6524, allocations: 0.9059 MB / 1.07 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003342/0.6527, allocations: 121.3 kB / 1.07 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.653, allocations: 191.4 kB / 1.071 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of SimCode: time 7.82e-07/0.653, allocations: 7.938 kB / 1.071 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.6777, allocations: 12 MB / 1.082 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.678, allocations: 237.7 kB / 1.082 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.525, allocations: 4 kB / 1.082 GB, free: 0.5742 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches