Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.006289/0.006289, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.001388/0.001388, allocations: 199.1 kB / 16.68 MB, free: 5.969 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.688/2.688, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 71.88 kB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2889, allocations: 162.3 MB / 1.242 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.5919/0.8808, allocations: 16 MB / 1.257 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00657/0.8874, allocations: 4.824 MB / 1.262 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008545/0.8883, allocations: 69.38 kB / 1.262 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.8905, allocations: 1.047 MB / 1.263 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.8919, allocations: 0.7432 MB / 1.264 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.8938, allocations: 0.9118 MB / 1.265 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003239/0.8971, allocations: 3.621 MB / 1.268 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004064/0.9011, allocations: 4.758 MB / 1.273 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.9031, allocations: 1.576 MB / 1.275 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002422/0.9055, allocations: 1.783 MB / 1.276 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004479/0.906, allocations: 339.8 kB / 1.277 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.9075, allocations: 0.8006 MB / 1.277 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.9088, allocations: 1.329 MB / 1.279 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.9104, allocations: 1.458 MB / 1.28 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005608/0.916, allocations: 5.151 MB / 1.285 GB, free: 11.94 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.916, allocations: 2.266 kB / 1.285 GB, free: 11.94 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9161, allocations: 0 / 1.285 GB, free: 11.94 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.574e-05/0.9162, allocations: 0 / 1.285 GB, free: 11.94 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005382/0.9215, allocations: 2.714 MB / 1.288 GB, free: 10.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.9216, allocations: 9 kB / 1.288 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005289/0.9221, allocations: 376.3 kB / 1.288 GB, free: 10.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003809/0.9259, allocations: 0.842 MB / 1.289 GB, free: 9.938 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/0.9285, allocations: 1.576 MB / 1.291 GB, free: 9.102 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.9286, allocations: 180.2 kB / 1.291 GB, free: 9.016 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/0.929, allocations: 230.5 kB / 1.291 GB, free: 8.941 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006768/0.9358, allocations: 4.159 MB / 1.295 GB, free: 7.316 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.903e-05/0.9359, allocations: 1.938 kB / 1.295 GB, free: 7.316 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002753/0.9362, allocations: 105.8 kB / 1.295 GB, free: 7.234 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.9363, allocations: 170.7 kB / 1.295 GB, free: 7.211 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005548/0.9419, allocations: 3.628 MB / 1.299 GB, free: 6.035 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/0.9604, allocations: 16.45 MB / 1.315 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.9637, allocations: 2.297 MB / 1.317 GB, free: 8.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008343/0.9645, allocations: 0.5885 MB / 1.318 GB, free: 7.855 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.9647, allocations: 92.09 kB / 1.318 GB, free: 7.762 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.9647, allocations: 44.09 kB / 1.318 GB, free: 7.715 MB / 1.029 GB Notification: Performance of pre-optimization done (n=72): time 3.647e-06/0.9647, allocations: 0 / 1.318 GB, free: 7.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.005367/0.9701, allocations: 3.516 MB / 1.321 GB, free: 5.703 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.9701, allocations: 111.6 kB / 1.321 GB, free: 5.578 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.9713, allocations: 1.017 MB / 1.322 GB, free: 5.164 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.9714, allocations: 39.98 kB / 1.322 GB, free: 5.121 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006947/0.9721, allocations: 1.136 MB / 1.324 GB, free: 4.242 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.9723, allocations: 291.7 kB / 1.324 GB, free: 4.016 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003682/0.9727, allocations: 278 kB / 1.324 GB, free: 3.879 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.9729, allocations: 423.4 kB / 1.324 GB, free: 3.516 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008645/0.9738, allocations: 0.6105 MB / 1.325 GB, free: 3.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.9751, allocations: 1.189 MB / 1.326 GB, free: 2.281 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/0.9772, allocations: 1.863 MB / 1.328 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.9772, allocations: 5.5 kB / 1.328 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002845/0.9801, allocations: 2.017 MB / 1.33 GB, free: 15.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.9801, allocations: 17.22 kB / 1.33 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.9802, allocations: 20.16 kB / 1.33 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003903/0.9806, allocations: 163.2 kB / 1.33 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.9816, allocations: 347.5 kB / 1.331 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.264e-05/0.9816, allocations: 38.17 kB / 1.331 GB, free: 15.56 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/0.9825, allocations: 129.5 kB / 1.331 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.901e-05/0.9826, allocations: 72.39 kB / 1.331 GB, free: 15.48 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001336/0.9839, allocations: 0.974 MB / 1.332 GB, free: 14.86 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.9841, allocations: 117.2 kB / 1.332 GB, free: 14.8 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.9861, allocations: 1.23 MB / 1.333 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.9861, allocations: 8.281 kB / 1.333 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.9861, allocations: 2.5 kB / 1.333 GB, free: 14.08 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.9861, allocations: 13.28 kB / 1.333 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005119/0.9912, allocations: 3.793 MB / 1.337 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.9912, allocations: 3.188 kB / 1.337 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/0.9918, allocations: 161.2 kB / 1.337 GB, free: 11.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003267/0.9921, allocations: 140.5 kB / 1.337 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.9922, allocations: 18.53 kB / 1.337 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/0.9922, allocations: 8.781 kB / 1.337 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9922, allocations: 3.656 kB / 1.337 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.994, allocations: 1.473 MB / 1.339 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.9944, allocations: 279.8 kB / 1.339 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.9945, allocations: 18.5 kB / 1.339 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.9951, allocations: 66.5 kB / 1.339 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.9952, allocations: 67.02 kB / 1.339 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.9953, allocations: 19.94 kB / 1.339 GB, free: 10.2 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008289/0.9961, allocations: 0.6973 MB / 1.34 GB, free: 9.801 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9961, allocations: 1.156 kB / 1.34 GB, free: 9.801 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001326/0.9974, allocations: 387.4 kB / 1.34 GB, free: 9.77 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002158/0.9996, allocations: 2.046 MB / 1.342 GB, free: 8.25 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002222/1.002, allocations: 1.715 MB / 1.344 GB, free: 7.184 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.002, allocations: 0.5 kB / 1.344 GB, free: 7.184 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0009553/1.003, allocations: 0.8631 MB / 1.345 GB, free: 6.508 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/1.004, allocations: 272.2 kB / 1.345 GB, free: 6.363 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/1.021, allocations: 12.91 MB / 1.357 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/1.023, allocations: 1.926 MB / 1.359 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001027/1.024, allocations: 453.6 kB / 1.36 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008682/1.025, allocations: 0.7102 MB / 1.36 GB, free: 11.14 MB / 1.061 GB Notification: Performance of SimCode: time 7.01e-07/1.025, allocations: 0 / 1.36 GB, free: 11.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.474/5.5, allocations: 27.89 MB / 1.388 GB, free: 15.58 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/18.83, allocations: 0 / 1.388 GB, free: 15.58 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches