Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.VariableImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.005664/0.005664, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001338/0.001338, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.165/1.165, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.033/2.033, allocations: 390.3 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 71.89 kB / 0.9504 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7663/0.7677, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00455/0.7722, allocations: 3.74 MB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003058/0.7753, allocations: 1.794 MB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002831/0.7756, allocations: 17.97 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009185/0.7766, allocations: 263.6 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007728/0.7774, allocations: 300.2 kB / 1.093 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.7781, allocations: 250.3 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007053/0.7788, allocations: 0.6017 MB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004587/0.7792, allocations: 255.5 kB / 1.094 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004147/0.7797, allocations: 239.7 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.7801, allocations: 232 kB / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.7801, allocations: 27 kB / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007065/0.7809, allocations: 274.7 kB / 1.095 GB, free: 336 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.781, allocations: 125.7 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.7813, allocations: 210.5 kB / 1.096 GB, free: 148 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000884/0.7821, allocations: 0.5868 MB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.7822, allocations: 0 / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7822, allocations: 0 / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.7822, allocations: 0.8125 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00138/0.7836, allocations: 0.7379 MB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.7836, allocations: 10.38 kB / 1.097 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.7837, allocations: 77.89 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009564/0.7847, allocations: 137.7 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000656/0.7854, allocations: 405.7 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.7854, allocations: 26.28 kB / 1.097 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.7855, allocations: 26.91 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009302/0.7864, allocations: 0.5577 MB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.7865, allocations: 2.531 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.7865, allocations: 12.98 kB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.536e-05/0.7866, allocations: 40.88 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007716/0.7874, allocations: 412.2 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003115/0.7905, allocations: 3.331 MB / 1.102 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/0.7912, allocations: 335.7 kB / 1.102 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.7916, allocations: 177.3 kB / 1.102 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.7916, allocations: 2.609 kB / 1.102 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.7917, allocations: 40.69 kB / 1.102 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/0.7917, allocations: 0 / 1.102 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=27): time 0.002314/0.794, allocations: 1.063 MB / 1.103 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.794, allocations: 58.2 kB / 1.103 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.7944, allocations: 343.1 kB / 1.104 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.7945, allocations: 31.64 kB / 1.104 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.7947, allocations: 244.6 kB / 1.104 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/0.7948, allocations: 95.84 kB / 1.104 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.7949, allocations: 77.91 kB / 1.104 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7951, allocations: 351.2 kB / 1.104 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.7954, allocations: 154.2 kB / 1.105 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.7959, allocations: 294.9 kB / 1.105 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006732/0.7966, allocations: 474.5 kB / 1.105 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.7966, allocations: 6.812 kB / 1.105 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001057/0.7976, allocations: 0.5578 MB / 1.106 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.7977, allocations: 6.406 kB / 1.106 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.7977, allocations: 5.438 kB / 1.106 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.798, allocations: 86.89 kB / 1.106 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.7984, allocations: 88.58 kB / 1.106 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.7984, allocations: 19.31 kB / 1.106 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.7987, allocations: 30.69 kB / 1.106 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.7988, allocations: 13.53 kB / 1.106 GB, free: 8.742 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {(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.0002109/0.799, allocations: 170.7 kB / 1.106 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/0.7991, allocations: 39.06 kB / 1.106 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000946/0.8, allocations: 476.6 kB / 1.107 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8, allocations: 3.344 kB / 1.107 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8, allocations: 1.859 kB / 1.107 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.8001, allocations: 1.547 kB / 1.107 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.8017, allocations: 0.9653 MB / 1.108 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.8017, allocations: 1.219 kB / 1.108 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.8019, allocations: 46.02 kB / 1.108 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002602/0.8022, allocations: 87.3 kB / 1.108 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.8022, allocations: 14.83 kB / 1.108 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.8023, allocations: 1.25 kB / 1.108 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.8023, allocations: 1.734 kB / 1.108 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008637/0.8031, allocations: 0.5397 MB / 1.108 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.8033, allocations: 139.2 kB / 1.109 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.8034, allocations: 7.031 kB / 1.109 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.8036, allocations: 26.25 kB / 1.109 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.8037, allocations: 18.75 kB / 1.109 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.8037, allocations: 9.625 kB / 1.109 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000242/0.804, allocations: 238.8 kB / 1.109 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.91e-07/0.804, allocations: 5.125 kB / 1.109 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000466/0.8045, allocations: 84.31 kB / 1.109 GB, free: 7.141 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {(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.001157/0.8056, allocations: 1.094 MB / 1.11 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009954/0.8066, allocations: 0.6453 MB / 1.111 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8066, allocations: 1.188 kB / 1.111 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.8071, allocations: 428 kB / 1.111 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.8079, allocations: 125.9 kB / 1.111 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/0.8132, allocations: 3.725 MB / 1.115 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.8137, allocations: 0.8302 MB / 1.116 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003241/0.8141, allocations: 76.92 kB / 1.116 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.8143, allocations: 131.7 kB / 1.116 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of SimCode: time 9.92e-07/0.8143, allocations: 0 / 1.116 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.8423, allocations: 8.321 MB / 1.124 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.34, allocations: 7.594 kB / 1.124 GB, free: 1.379 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches